<template>
  <p>孙子 $attrs: {{ $attrs }}</p>
  <p>孙子 ziCar2: {{ ziCar2 }}</p>
  <p>孙子 ziCar3: {{ ziCar3 }}</p>
  <p>孙子 ziCar4: {{ ziCar4 }}</p>
  <button @click="addNum(2)">addNum 更新num</button>
  <br />
  <hr />
</template>
<script setup lang="ts">
defineProps(["ziCar2", "ziCar3", "ziCar4",'addNum']);
</script>
<style lang="scss" scoped></style>
